/*
package NiuKe;

import java.util.HashSet;
import java.util.Scanner;
import java.util.Set;

*/
/**
 * @Description: HJ3 明明的随机数
 * @Author: Hanzao
 * @Date: 2022/06/12/15:40
 *//*

public class HJ3 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int i = scanner.nextInt();
        Set set = new HashSet();
        for(int j=0;j<i;j++){
            set.add(scanner.nextInt());
        }
        set.stream().sorted().forEach(System.out::println);
    }
}
*/
